@extends('enterprise.layout.common')
@section('content')
    <link rel="stylesheet" href="{{asset('css/enterprise/pressCenter.css')}}">
    <!--头部-->

    <!--内容-->
    <section class="">
        <div class="banner">
            <img src="{{asset('/images/enterprise/u503.png')}}" alt="">
        </div>
        <div class="">
            <div class="layui-tab layui-tab-card">
                <ul class="layui-tab-title cl w1200 w90">
                    <li style="border:none;-webkit-border-radius: 15px 0 0 15px;-moz-border-radius: 15px 0 0 15px;border-radius: 15px 0 0 15px;">公司动态</li>
                    <li   class="layui-this">行业新闻</li>
                    <li>媒体新闻</li>
                    <li style="-webkit-border-radius: 0 15px 15px 0;-moz-border-radius: 0 15px 15px 0;border-radius: 0 15px 15px 0;">货满仓印象</li>
                </ul>
                <div class="layui-tab-content" style="">
                    <ul class="layui-tab-item   w1200 cl">
                        @foreach($list1 as $v)
                        <li class="cl Flex">
                            <div class="left Flex around">
                                <div class="bgFF3300">
                                    <p>{{date('Y',strtotime($v->created_at))}}<br/><span>{{date('m.d',strtotime($v->created_at))}}</span></p>
                                </div>
                                <div class="imgbox6">
                                    <img src="{{$v->img_url}}" alt="">
                                </div>
                            </div>
                            <div class="right">
                                <a href="{{URL('enterprise/articleInfo/'.$v->id)}}" style="font-size: 21px;line-height:60px;">{{$v->title}}</a><br/>
                                <p>{!! $v->content !!}</p>
                                <a href=""><button type="button" class="layui-btn layui-btn-radius layui-btn-primary">公司动态</button></a>
                            </div>
                        </li>
                        @endforeach
                        <div class="pag">
                            {{ $list1->links()}}
                            {{--<div id="demo1"></div>--}}
                        </div>
                    </ul>
                    <ul class="layui-tab-item  cl w1200 layui-show">
                        @foreach($list2 as $v)
                        <li class="cl Flex">
                            <div class="left Flex around">
                                <div class="bgFF3300">
                                    <p>{{date('Y',strtotime($v->created_at))}}<br/><span>{{date('m.d',strtotime($v->created_at))}}</span></p>
                                </div>
                                <div class="imgbox6">
                                    <img src="{{$v->img_url}}" alt="">
                                </div>
                            </div>
                            <div class="right">
                                <a href="{{URL('enterprise/articleInfo/'.$v->id)}}" style="font-size: 21px;line-height:60px;">{{$v->title}}</a><br/>
                                <p>{!! $v->content !!}</p>
                                <a href=""><button type="button" class="layui-btn layui-btn-radius layui-btn-primary">行业新闻</button></a>
                            </div>
                        </li>
                        @endforeach
                        <div class="pag">
                            {{ $list2->links()}}
                            {{--<div id="demo2"></div>--}}
                        </div>
                    </ul>
                    <ul class="layui-tab-item w1200 cl">
                        @foreach($list3 as $v)
                        <li class="cl Flex">
                            <div class="left Flex around">
                                <div class="bgFF3300">
                                    <p>{{date('Y',strtotime($v->created_at))}}<br/><span>{{date('m.d',strtotime($v->created_at))}}</span></p>
                                </div>
                                <div class="imgbox6">
                                    <img src="{{$v->img_url}}" alt="">
                                </div>
                            </div>
                            <div class="right">
                                <a href="{{URL('enterprise/articleInfo/'.$v->id)}}" style="font-size: 21px;line-height:60px;">{{$v->title}}</a><br/>
                                <p>{!! $v->content !!}</p>
                                <a href=""><button type="button" class="layui-btn layui-btn-radius layui-btn-primary">媒体新闻</button></a>
                            </div>
                        </li>
                        @endforeach
                        <div class="pag">
                            {{ $list3->links()}}
                            {{--<div id="demo2-1"></div>--}}
                        </div>
                    </ul>
                    <ul class="layui-tab-item w1200 w367 cl">
                        @foreach($list4 as $v)
                        <li>
                            {!! $v->content !!}
                            {{--<img src="{{asset('/images/enterprise/u123.png')}}" alt="">
                            苏宁帮客家成行业新标杆--}}
                        </li>
                        @endforeach
                        <div class="pag">
                            {{ $list4->links()}}
                            {{--<div id="demo2-2"></div>--}}
                        </div>
                    </ul>
                </div>
            </div>
        </div>
    </section >
    <!--脚-->
@endsection
    <script src="{{asset('/common/enterprise/jquery-3.3.1.js')}}"></script>
    <script src="{{asset('/plug/layui/layui.js')}}"></script>
